package com.macro.mall.tiny.modules.oms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 促销码返点变更日志
 * </p>
 *
 * @author tyrone
 * @since 2024-11-25
 */
@Getter
@Setter
@TableName("oms_promo_code_rebate_log")
@ApiModel(value = "OmsPromoCodeRebateLog对象", description = "促销码返点变更日志")
public class OmsPromoCodeRebateLog implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("openid")
    private String openId;

    @ApiModelProperty("促销码")
    private String promoCode;

    @ApiModelProperty("原返点")
    private Double sourceRebate;

    @ApiModelProperty("目标返点")
    private Double targetRebate;

    @ApiModelProperty("创建时间")
    private Date createTime;


}
